//
//  JBUnitView.h
//  JBCalendar
//
//  Created by YongbinZhang on 7/8/13.
//  Copyright (c) 2013 JustBen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JBUnitGridView.h"
#import "NSDate+Calendar.h"

@interface JBUnitView : UIView

@property (nonatomic, strong) UIView *calendarView;

@property (nonatomic, strong) NSDate *selectedDate;

/**************************************************************
 *@Description:初始化方法
 *@Params:
 *  frame:框架
 *  unitType:月视图／周视图
 *  selectedDate:初始的选择日期
 *@Return:JBUnitGridView对象
 **************************************************************/
- (id)initWithFrame:(CGRect)frame UnitType:(UnitType)unitType SelectedDate:(NSDate *)selectedDate;

@end
